package com.newer.dao.sys.mapper;

import com.newer.pojo.sys.Pickstandard;
import com.newer.pojo.sys.PickstandardExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Repository
public interface PickstandardMapper {
    int countByExample(PickstandardExample example);

    int deleteByExample(PickstandardExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Pickstandard record);

    int insertSelective(Pickstandard record);

    List<Pickstandard> selectByExample(PickstandardExample example);

    Pickstandard selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Pickstandard record, @Param("example") PickstandardExample example);

    int updateByExample(@Param("record") Pickstandard record, @Param("example") PickstandardExample example);

    int updateByPrimaryKeySelective(Pickstandard record);

    int updateByPrimaryKey(Pickstandard record);
    
    //批量删除
    int deleteByIds(List<String> ids);
    //检查收派标准是否存在
    Pickstandard selectByStandardName(@Param("standardName")String standardName);
}